package com.jianhua.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 存储预设套餐信息，如主菜+配菜+饮品组合
 * </p>
 *
 * @author author
 * @since 2025-07-02
 */
@Getter
@Setter
@ToString
@TableName("meal_packages")
@Data
public class MealPackages implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐唯一标识
     */
    @TableId(value = "package_id", type = IdType.AUTO)
    private Integer packageId;

    /**
     * 套餐名称
     */
    @TableField("package_name")
    private String packageName;

    /**
     * 套餐描述
     */
    @TableField("description")
    private String description;

    /**
     * 套餐价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 套餐图片链接
     */
    @TableField("image_url")
    private String imageUrl;

    /**
     * 折扣率(如0.9表示9折)
     */
    @TableField("discount")
    private BigDecimal discount;

    /**
     * 套餐状态（available可提供/unavailable不可提供）
     */
    @TableField("status")
    private String status;
}
